home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / code2 / r3real.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  3.5 KB  |  156 lines

  1.  
  2. // JavaScript wrapper for inc/real/code2/r3real.h
  3. // Auto generated file, do not modify by hand
  4. // Copyrights 2002, Realsoft Graphics Oy
  5.  
  6. var R3_REAL_H = 1;
  7. include("real/layer/r3lislay.js")
  8.  
  9.  
  10. var R3CLID_REAL = 316;
  11.  
  12.  
  13. // ==== Methods ==== 
  14.  
  15.  
  16.  
  17. R3REALM_GETANIMATOR = 316004;
  18.  
  19. function _R3REALM_GETANIMATOR() {
  20.   this.r3DoA(R3REALM_GETANIMATOR);
  21. }
  22.  
  23.  
  24. R3REALCM_INFO = 316005;
  25.  
  26. function _R3REALCM_INFO() {
  27.   this.r3DoA(R3REALCM_INFO);
  28. }
  29.  
  30.  
  31. R3REALM_GETFILER = 316006;
  32.  
  33. function _R3REALM_GETFILER() {
  34.   this.r3DoA(R3REALM_GETFILER);
  35. }
  36.  
  37.  
  38. R3REALM_GETMACRO = 316011;
  39.  
  40. function _R3REALM_GETMACRO() {
  41.   this.r3DoA(R3REALM_GETMACRO);
  42. }
  43.  
  44.  
  45. // ==== Attributes ==== 
  46.  
  47.  
  48. // R3REALA_reserved ?our gui i.e. the main window 
  49. R3REALA_reserved = 316500;
  50. function SetR3REALA_reserved(value) {
  51.   this.r3Set(R3REALA_reserved, value); // R3OBJ*
  52. }
  53.  
  54. function GetR3REALA_reserved() {
  55.   var value = 0;
  56.   return this.r3Get(R3REALA_reserved, value); // R3OBJ*
  57. }
  58.  
  59. // R3REALA_reserved2 ?message port for event reading 
  60. R3REALA_reserved2 = 316501;
  61. function SetR3REALA_reserved2(value) {
  62.   this.r3Set(R3REALA_reserved2, value); // R3OBJ*
  63. }
  64.  
  65. function GetR3REALA_reserved2() {
  66.   var value = 0;
  67.   return this.r3Get(R3REALA_reserved2, value); // R3OBJ*
  68. }
  69.  
  70. // R3REALA_LayerList ?main model 
  71. R3REALA_LayerList = 316503;
  72. function SetR3REALA_LayerList(value) {
  73.   this.r3Set(R3REALA_LayerList, value); // R3OBJ*
  74. }
  75.  
  76. function GetR3REALA_LayerList() {
  77.   var value = 0;
  78.   return this.r3Get(R3REALA_LayerList, value); // R3OBJ*
  79. }
  80.  
  81. // R3REALA_Info ?info model 
  82. R3REALA_Info = 316504;
  83. function SetR3REALA_Info(value) {
  84.   this.r3Set(R3REALA_Info, value); // R3OBJ*
  85. }
  86.  
  87. function GetR3REALA_Info() {
  88.   var value = 0;
  89.   return this.r3Get(R3REALA_Info, value); // R3OBJ*
  90. }
  91.  
  92. // R3REALA_Macro ?macro model 
  93. R3REALA_Macro = 316505;
  94. function SetR3REALA_Macro(value) {
  95.   this.r3Set(R3REALA_Macro, value); // R3OBJ*
  96. }
  97.  
  98. function GetR3REALA_Macro() {
  99.   var value = 0;
  100.   return this.r3Get(R3REALA_Macro, value); // R3OBJ*
  101. }
  102.  
  103. // R3REALA_RenderPort integerTCP/IP port number 
  104. R3REALA_RenderPort = 316506;
  105. function SetR3REALA_RenderPort(value) {
  106.   this.r3Set(R3REALA_RenderPort, value); // R3INT
  107. }
  108.  
  109. function GetR3REALA_RenderPort() {
  110.   var value = 0;
  111.   return this.r3Get(R3REALA_RenderPort, value); // R3INT
  112. }
  113.  
  114. // R3REALA_PluginsDir ?plugins folder 
  115. R3REALA_PluginsDir = 316507;
  116. function SetR3REALA_PluginsDir(value) {
  117.   this.r3Set(R3REALA_PluginsDir, value); // char*
  118. }
  119.  
  120. function GetR3REALA_PluginsDir() {
  121.   var value = "";
  122.   return this.r3Get(R3REALA_PluginsDir, value); // char*
  123. }
  124.  
  125.  
  126.  
  127. function r3Real () { 
  128.    this.base = r3God;
  129.    if(arguments.length) {
  130.       this.base(R3CLID_REAL, arguments);
  131.    }
  132.    // Methods
  133.    this.GETANIMATOR=_R3REALM_GETANIMATOR;
  134.    this.INFO=_R3REALCM_INFO;
  135.    this.GETFILER=_R3REALM_GETFILER;
  136.    this.GETMACRO=_R3REALM_GETMACRO;
  137.  
  138.    // Attributes
  139.    this.Getreserved=GetR3REALA_reserved;
  140.    this.Setreserved=SetR3REALA_reserved;
  141.    this.Getreserved2=GetR3REALA_reserved2;
  142.    this.Setreserved2=SetR3REALA_reserved2;
  143.    this.GetLayerList=GetR3REALA_LayerList;
  144.    this.SetLayerList=SetR3REALA_LayerList;
  145.    this.GetInfo=GetR3REALA_Info;
  146.    this.SetInfo=SetR3REALA_Info;
  147.    this.GetMacro=GetR3REALA_Macro;
  148.    this.SetMacro=SetR3REALA_Macro;
  149.    this.GetRenderPort=GetR3REALA_RenderPort;
  150.    this.SetRenderPort=SetR3REALA_RenderPort;
  151.    this.GetPluginsDir=GetR3REALA_PluginsDir;
  152.    this.SetPluginsDir=SetR3REALA_PluginsDir;
  153. }
  154.  
  155. r3Real.prototype=new r3Listlayer;
  156. // inc/real/code2/r3real.h_H